const { userList } = require("../models/user");

const UserList = async (req, res) => {
    const list = await userList();
    res.send({
        code: "200",
        msg: "用户列表",
        data: list,
    });
};

module.exports = { UserList };
